package com.example.demo.model.vo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by zkq19 on 2018/6/30.
 */
@Data
public class InquiryPartsVo {

    //备件ID
    private Integer partsId;
    //备件编码
    @NotBlank(message = "新增失败,备件编码不能为空")
    private String partsCode;
    //备件名字
    private String partsName;
    //主表ID
    private Integer inquiryId;
    private String unit;
    @NotNull(message = "新增失败,询价数量不能为空")
    private Integer amount;
    private String moneyType1;
    @NotNull(message = "新增失败,moq不能为空")
    private Integer moq;
    @NotNull(message = "新增失败,交货周期不能为空")
    private Integer deliveryPeriod;
    private Date intendDeliverDate;

}
